#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include "qipan.h"
#include "gamelogic.h"
namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

public slots:
   void handleChessClickSlot(int row,int col);
    void handleAiChessClickSlot(int row,int col);
private:
    Ui::MainWindow *ui;
    /*棋盘*/
    qipan *m_qipan;
    /*游戏规则*/
    GameLogic * m_login;

};

#endif // MAINWINDOW_H
